package com.oromwin.repos.server;

import com.oromwin.repos.common.Common;
import com.oromwin.repos.common.Common.LockType;

public class LockObject {
    private LockType _lockType = null;
    private String _fileId = null;
    
    public LockObject(LockType lockType, String fileId) {
        if (fileId == null) {
            fileId = Common.UniqueId.generate();
        }
        _lockType = lockType;
        _fileId = fileId;
    }
    public LockType getLockType() {
        return _lockType;
    }
    public String getFileId() {
        return _fileId;
    }
}
